echo "_________________________________
       _    ____ _____ ____  
      / \  / ___|_   _/ ___| 
     / _ \| |     | | \___ \ 
    / ___ \ |___  | |  ___) |
   /_/   \_\____| |_| |____/ 
                           
"
sleep 0.2
echo $(date +%H:%M:%S)
echo "----------------------------------       "
echo "\033[34m    主菜单 \033[0m               "
echo "\033[34m    请输入数字[0㉿5]: \033[0m    "
echo "[0] \033[32m 取消执行 \033[0m            "
echo "[1] \033[33m 替换原并安装Python \033[0m  "
echo "[2] \033[32m 删除指定文件 \033[0m        "
echo "[3] \033[32m 运行并安装sqlmap-dev \033[0m"
echo "[4] \033[32m 查看系统进程 \033[0m        "
echo "[5] \033[32m 器选择菜单 \033[0m          "
echo "[6] \033[32m 生成指定文件 \033[0m        "
echo "[7] \033[32m 启动数据库 \033[m           "
echo "[8] \033[33m 配置手册   \033[0m          "
echo "[9] \033[33m 查看版本   \033[0m          "
echo "[10] \033[33m 执行A自动程序 \033[0m"
echo "----------------------------------       "
read -p "序号: " xh
 case $xh in
    0)
    echo "执行取消"
    sleep 1
    reset
    ;;
    1)
        echo "执行程序"
        sed -i 's@^\(deb.*stable main\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/apt/termux-main stable main@' $PREFIX/etc/apt/sources.list apt update && apt upgrade
        echo "安装python"
        pkg upgrade
        apt install python -y
        pkg install tree -y
        reset
        sh /data/data/com.termux/files/usr/.AT/ACTS.sh
        ;;
     2)
        echo "执行程序"
        ls -li
        read -p "请输入要删除的行：" ACTS

         rm -rf $ACTS
         sh /data/data/com.termux/files/usr/.AT/ACTS.sh
           ;;
           
     3) 
        if [ ! -d "/data/data/com.termux/files/home/.sqlmap/sqlmap-dev"  ];then
       echo " sqlmap 文件不存在"
    mkdir .sqlmap ~
    git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git 
    mv sqlmap-dev .sqlmap
    sleep 3
    apt install python -y
    sh /data/data/com.termux/files/usr/.AT/ACTS.sh
       else 
       read -p "网址:" acc
       read -p "模式:" ee
       python /data/data/com.termux/files/home/.sqlmap/sqlmap-dev/sqlmap.py $ee $acc
       fi
          ;;
      4)
      top
        ;;
      5) 
      bash -c "$(curl -Lv https://gitee.com/mo2/linux/raw/master/debian.sh)"
      sleep 1
      sh /data/data/com.termux/files/usr/.AT/ACTS.sh
        ;;
        
      6)
      read -p "文件名: " nu
      read -p "拓展名: " m
        
         eval touch $nu.$m
        echo "文件的$nu , 拓展名$m"
        ls
        sleep 2
        sh /data/data/com.termux/files/usr/.AT/ACTS.sh
          ;;
      7)
       mysqld &
      sleep 1
      mysql -u root
      ;;
      8)
      sh /data/data/com.termux/files/usr/.AT/pz.sh
       ;;
       9)
       sh /data/data/com.termux/files/usr/.AT/bb.sh
       sleep 1
       sh /data/data/com.termux/files/usr/.AT/ACTS.sh
       ;;
       10)
       sh /data/data/com.termux/files/usr/.zb/.ACTS.sh
       ;;
esac
